#ifndef SHOWFICHE_H
#define SHOWFICHE_H

#include "ui_showficheannuelle.h"
#include <QDialog>
#include <QTextDocument>

class ShowResultsFile:public QDialog,public Ui::ShowFicheAnnuelleDialog
{
    Q_OBJECT
    public:
        ShowResultsFile (QWidget * parent = 0);
        ~ShowResultsFile ();
        void setInformations(const QHash<int,QString> & hashOfDatas);
        void getNameAndGuid(const QString name, const QString firstname, const QString patientguid);
    protected slots:
        void printDatas();
        void printToPdfFile();
        void eraseFragment();
    private:
        QTextDocument * m_textDocument;
        QString m_exportPath;
        QString m_name;
        QString m_firstname;
        QString m_patientguid;
        QString m_resourcespath;
};

#endif

